package com.zeng.vueserve.coreapi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zeng.vueserve.coreapi.vo.AuthorityVo;

import java.util.List;

public interface AuthorityService {

    AuthorityVo addOne(AuthorityVo authorityVo);

    AuthorityVo getOneByCode(String code);

    Integer update(AuthorityVo authorityVo);

    Integer delete(String code);

    Integer batchDelete(List<String> codes);

    List<AuthorityVo> findPage(Page page, AuthorityVo authorityVo);

    Integer count(AuthorityVo fileServerVo);

}
